import Layout from '@/pages/public/layout' // 公共部分

const timeline = [{
  path: '/sns/circle',
  component: Layout,
  children: [{
    path: 'list',
    component: () => import('@/pages/sns/timeline/index.vue'),
    meta: {
      title: '学友圈 - 动态列表',
      permission: 'sns.circle.list'
    }
  }, {
    path: ':id/detail',
    component: () => import('@/pages/sns/timeline/detail.vue'),
    meta: {
      title: '学友圈- 动态详情',
      permission: 'sns.circle.detail'
    }
  }]
}]

export default timeline
